<template>
  <div class="cate-hea">
    <div class="left">
      <slot name="left"></slot>
    </div>
    <div class="center">
      <slot name="center"></slot>
    </div>
    <div class="right">
      <slot name="right"></slot>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    goBack() {
      this.$router.go(-1)
    },
  },
}
</script>

<style lang="scss" scoped>
@import '@/assets/css/mixin.scss';
.cate-hea {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  @include fj;
  align-items: center;
  width: 100%;
  height: 100px;
  padding: 0 30px;
  font-size: 30px;
  box-sizing: border-box;
  .left {
    > i {
      font-size: 60px;
    }
  }
  &.active {
    background: $red;
  }
}
</style>
